/* form related */
.field_required {color:red;}
.form-group {margin-bottom:10px;}
.form-group .field_required{color:red;}

/* bs3 form helper */
.table-bordered { border: 1px solid #ddd;}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #ccc;
}
.table-field-label {min-width: 120px;display: table-cell;text-align: right;margin-right: 10px;
    vertical-align:top;
    font-weight:bold;margin-bottom:0;padding-right:10px;
    padding-top:5px;
  }
.table-layout {margin-bottom:0px;}
.table-layout .form-control-static  {display:inline-block;vertical-align:top;padding-top:0;padding-bottom:0;}
.table-layout .form-control  {display:table-cell;vertical-align:top;}
.table-field-row {display:table-row;width:100%;min-height:34px;}
.table-field-col {display:table-cell; width:2000px;}
input[type="checkbox"].checkbox {height: 34px;padding-top: 7px;margin:0;}
input[type="checkbox"].checkbox-inline {height: 34px;}
.table-layout .checkbox input[type=checkbox],
    .table-layout .checkbox-inline input[type=checkbox],
    .table-layout .radio input[type=radio],
    .table-layout .radio-inline input[type=radio] {position:initial;margin-right:5px;}
.table-field-col .radio, .table-field-col .checkbox {margin-top:0;margin-bottom:0;}
input[type="file"].form-control {border:none;background-color:transparent;line-height:1;padding:8px 1px; }
.input-group-btn button{height:34px;}
legend {margin-bottom:0; border-bottom:none;}

@media (max-width: 767px) {
    .table-field-label {
        display: block;
        text-align:left;
    }
    .table-field-col {
        display: block;
        width: 100%;
    }
    .table-field-row {
        display: initial;
    }
}
.label-default {line-height: 27px;}


/* fix AdminLTE */
.modal-content {
    border-radius: 4px;
}

.tools {
  padding-top:10px;
  padding-bottom:10px;
}

/* detail-view css */
.view-table td:hover {
  background-color: whitesmoke;
}
.view-label {
  min-width:100px;
  text-align: right;
  display: inline-block;
  padding-right:5px;
}

/* bootstrap3 table detail layout */
.view-bs3-table .table-field-col:hover {
  background-color: whitesmoke;
}

.view-bs3-table .view-cell {
  padding:0;
}

.view-bs3-table .table-field-label {
  min-width: 100px;  
}

.view-bs3-table .table-field-label, .view-bs3-table .table-field-col {
  padding: 8px;
}

.view-bs3-table .table-field-col {
  border-bottom: 1px solid #ccc;
}

/* pagination */
.pagination {margin: 0;}
.pagination ul > li > a,
.pagination ul > li > span {
  padding: 0 6px;
  line-height: 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid #DADADA;
}

.pagination ul > .active > a,
.pagination ul > .active > span {
  color: #000;
  cursor: default;
  background-color: #dfdfdf;
  border-bottom: 1px solid #D26911;
}

.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
  border-left: 1px solid #DADADA;
}

.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
  border-right: 1px solid #DADADA;
}

.select2-container--default .select2-selection--multiple, #layout-body .select2-container--default .select2-selection--multiple {
  border-radius: 0px!important;
  height: auto;
  border-color: #d2d6de;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice, #layout-body .select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: black!important;
}
.select2-container--default .select2-selection--single, #layout-body .select2-container--default .select2-selection--single {
  border-radius: 0px!important;
  border-color: #d2d6de;
}
.select2-container .select2-selection--single, #layout-body .select2-container .select2-selection--single {
  height:34px!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow, #layout-body .select2-container--default .select2-selection--single .select2-selection__arrow {
  height:34px!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered, #layout-body .select2-container--default .select2-selection--single .select2-selection__rendered {
  height:28px!important;
  padding-right: 10px;
  padding-left: 0px;
}

.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 34px!important;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
  height:23px;
}
